import request from '@/utils/request'
export function fetchList(params) {
  return request({
    url:'/admin/config/page',
    method:'get',
    params:params
  })
}
export function detail(id) {
  return request({
    url:'/admin/config/get/'+id,
    method:'get'
  })
}
export function update(params) {
  return request({
    url:'/admin/config/update',
    method:'post',
    data:params
  })
}
